-
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.
Merge pull request #86 from sameeul/update_docker_maven_path
Update docker containers to address singularity path issue for maven repo
- Loading branch information
Showing
6 changed files
with
158 additions
and
92 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/src/bfio/utils.py b/src/bfio/utils.py | ||
index 954d682..cb88332 100644 | ||
--- a/src/bfio/utils.py | ||
+++ b/src/bfio/utils.py | ||
@@ -38,6 +38,7 @@ try: | ||
|
||
global JAR_VERSION | ||
scyjava.config.endpoints.append("ome:formats-gpl:7.3.0") | ||
+ scyjava.config.set_m2_repo("/etc/m2/") | ||
scyjava.start_jvm() | ||
import loci | ||
|
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