Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
f9c00f3e
Commit
f9c00f3e
authored
3 years ago
by
Thomas Kluyver
Browse files
Options
Downloads
Patches
Plain Diff
Fix user venv test
parent
0afe5941
No related branches found
No related tags found
1 merge request
!544
Reproducibility, step 1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/xfel_calibrate/calibrate.py
+1
-0
1 addition, 0 deletions
src/xfel_calibrate/calibrate.py
tests/test_xfel_calibrate/test_user_configs.py
+1
-1
1 addition, 1 deletion
tests/test_xfel_calibrate/test_user_configs.py
with
2 additions
and
1 deletion
src/xfel_calibrate/calibrate.py
+
1
−
0
View file @
f9c00f3e
...
...
@@ -1037,6 +1037,7 @@ def run():
user_venv
=
nb_info
.
get
(
"
user
"
,
{}).
get
(
"
venv
"
)
if
user_venv
:
user_venv
=
Path
(
user_venv
.
format
(
**
args
))
print
(
"
Using specified venv:
"
,
user_venv
)
python_exe
=
str
(
user_venv
/
'
bin
'
/
'
python
'
)
else
:
python_exe
=
python_path
...
...
This diff is collapsed.
Click to expand it.
tests/test_xfel_calibrate/test_user_configs.py
+
1
−
1
View file @
f9c00f3e
...
...
@@ -122,7 +122,7 @@ class TestUserVenv:
)
def
test_call
(
self
,
calibrate_call
:
CalibrateCall
):
assert
"
Running job in user
venv
at
"
in
calibrate_call
.
out
assert
"
specified
venv
"
in
calibrate_call
.
out
def
test_expected_processes_called
(
self
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment