Skip to content

Commit 39490d4

Browse files
committed
fix formatting
1 parent 36ca862 commit 39490d4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

notebooks/ijfinder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
from PyQt5.QtCore import QDir
99
from PyQt5.QtWidgets import QFileDialog, QApplication
1010

11-
# The path to your local Fiji.app installation
12-
local_fiji_dir = r"C:\Users\cam\Desktop\Fiji.app"
11+
# The path to your local Fiji.app installation. Here we'll define in a platform
12+
# agnostic way a Fiji.app directory in the desktop of the current user account
13+
local_fiji_dir = os.path.join(expanduser('~'), 'Desktop', 'Fiji.app')
1314

1415
def getpath(directory=expanduser("~")):
1516
# see https://stackoverflow.com/a/46814297

src/main/java/sc/fiji/snt/gui/ComponentResizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,4 +443,4 @@ private Dimension getBoundingSize(final Component source) {
443443
return source.getParent().getSize();
444444
}
445445
}
446-
}
446+
}

0 commit comments

Comments
 (0)