We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda55fc commit d813cceCopy full SHA for d813cce
.github/scripts/print_dir.py
@@ -1,3 +1,15 @@
1
from ai.nets.samj.ij.utils import Constants
2
+from java.io import File
3
+from io.bioimage.modelrunner.system import PlatformDetection
4
-print(Constants.FIJI_FOLDER)
5
+
6
+if not PlatformDetection.isMacOS() or not PlatformDetection.isUsingRosseta():
7
+ platform = PlatformDetection.getArch()
8
+else:
9
+ platform = PlatformDetection.ARCH_ARM64
10
11
12
13
+default_dir = Constants.FIJI_FOLDER + File.separator + "appose_" + platform
14
15
+print(default_dir)
0 commit comments