-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add jgo, pyimage patch and update docker files
- Loading branch information
Showing
5 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/jgo/jgo.py b/jgo/jgo.py | ||
index bd2b328..e2a824a 100644 | ||
--- a/jgo/jgo.py | ||
+++ b/jgo/jgo.py | ||
@@ -710,7 +710,7 @@ def resolve_dependencies( | ||
jar_file_in_workspace, | ||
link_type=link_type, | ||
) | ||
- except FileExistsError: | ||
+ except (FileExistsError, shutil.SameFileError): | ||
# Do not throw exception if target file exists. | ||
pass | ||
pathlib.Path(build_success_file).touch(exist_ok=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/imagej/__init__.py b/imagej/__init__.py | ||
index 18aa9a8..74524ce 100644 | ||
--- a/imagej/__init__.py | ||
+++ b/imagej/__init__.py | ||
@@ -1421,6 +1421,7 @@ def _create_jvm( | ||
sj.config.endpoints.extend(original_endpoints) | ||
|
||
try: | ||
+ sj.config.set_m2_repo("/etc/m2/") | ||
sj.start_jvm() | ||
except subprocess.CalledProcessError as e: | ||
# Check to see if initialization failed due to "un-managed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters