Skip to content

Commit cbd6ce8

Browse files
committed
Fixed loading manual mask
1 parent 81e62fd commit cbd6ce8

14 files changed

Lines changed: 1 addition & 1 deletion
-8.25 KB
Binary file not shown.
0 Bytes
Binary file not shown.
8.18 KB
Binary file not shown.

ParticleSpy/SegUI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def mouseReleaseEvent(self, e):
359359

360360
def savearray(self,image):
361361
resized = np.array(Image.fromarray(self.array).resize((image.shape[0],image.shape[1])))
362-
np.save('Parameters/manual_mask',resized)
362+
np.save(inspect.getfile(process).rpartition('\\')[0]+'/Parameters/manual_mask',resized)
363363

364364

365365
def main(haadf):
6.92 KB
Binary file not shown.
10.8 KB
Binary file not shown.
177 Bytes
Binary file not shown.
711 Bytes
Binary file not shown.
3.68 KB
Binary file not shown.
939 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)