text files on Unix should end with a new line character
This commit is contained in:
parent
84353ae545
commit
3a51e1119b
|
@ -1,4 +1,4 @@
|
|||
[Parallel3]
|
||||
mech isostrain
|
||||
nconstituents 3
|
||||
mapping sum # or 'parallel'
|
||||
mapping sum # or 'parallel'
|
||||
|
|
|
@ -128,4 +128,4 @@ The Düsseldorf Advanced Material Simulation Kit</dc:description></cc:Work><cc:L
|
|||
x2="351.76105"
|
||||
y2="-85.616516"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2389388,141.61654)" /></defs></svg>
|
||||
gradientTransform="translate(1.2389388,141.61654)" /></defs></svg>
|
||||
|
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
|
@ -303,7 +303,9 @@ class Colormap(mpl.colors.ListedColormap):
|
|||
'RGBPoints':colors
|
||||
}]
|
||||
|
||||
json.dump(out,self._get_file_handle(fname,'json'),indent=4)
|
||||
fhandle = self._get_file_handle(fname,'json')
|
||||
json.dump(out,fhandle,indent=4)
|
||||
fhandle.write('\n')
|
||||
|
||||
|
||||
def save_ASCII(self,fname=None):
|
||||
|
|
|
@ -1287,4 +1287,4 @@
|
|||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
|
@ -1 +1 @@
|
|||
a40baead936c79dd4f86f84ad858b9fa
|
||||
a40baead936c79dd4f86f84ad858b9fa
|
||||
|
|
|
@ -1 +1 @@
|
|||
6fb37bd65934de859dd6b6e0191e7d64
|
||||
6fb37bd65934de859dd6b6e0191e7d64
|
||||
|
|
|
@ -1 +1 @@
|
|||
61953c35f61f3234b98d78a912e7dc83
|
||||
61953c35f61f3234b98d78a912e7dc83
|
||||
|
|
|
@ -1 +1 @@
|
|||
bb783bb80ff04dd435e814f4b82a3234
|
||||
bb783bb80ff04dd435e814f4b82a3234
|
||||
|
|
|
@ -1 +1 @@
|
|||
4f85d2613aa70622a2d5f49dc8bf2eb2
|
||||
4f85d2613aa70622a2d5f49dc8bf2eb2
|
||||
|
|
|
@ -1 +1 @@
|
|||
e1ca5306082fc3ab411f5ddab1a2e370
|
||||
e1ca5306082fc3ab411f5ddab1a2e370
|
||||
|
|
|
@ -1 +1 @@
|
|||
1641c3b3641e942ffc325d471bdfaf00
|
||||
1641c3b3641e942ffc325d471bdfaf00
|
||||
|
|
|
@ -1 +1 @@
|
|||
ba97286c5d95bf817143f7bb9cf58421
|
||||
ba97286c5d95bf817143f7bb9cf58421
|
||||
|
|
|
@ -35,4 +35,4 @@ for lattice = lattice_types
|
|||
print('-bestfit',strcat(int2str(p+1),'_',char(lattice),'.pdf'),'-dpdf')
|
||||
close
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -388,9 +388,9 @@ class TestResult:
|
|||
cur = hashlib.md5(f.read().encode()).hexdigest()
|
||||
if update:
|
||||
with open((ref_path/'export_VTK'/request.node.name).with_suffix('.md5'),'w') as f:
|
||||
f.write(cur)
|
||||
f.write(cur+'\n')
|
||||
with open((ref_path/'export_VTK'/request.node.name).with_suffix('.md5')) as f:
|
||||
assert cur == f.read()
|
||||
assert cur == f.read()[:-1]
|
||||
|
||||
@pytest.mark.parametrize('mode',['point','cell'])
|
||||
@pytest.mark.parametrize('output',[False,True])
|
||||
|
|
Loading…
Reference in New Issue