Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
MPSD Computational Science
mpsd-software-manager
Commits
9ed21c50
Commit
9ed21c50
authored
1 year ago
by
Hans Fangohr
Browse files
Options
Downloads
Patches
Plain Diff
Remove references to `create_dir_structure`
parent
9d8d4213
No related branches found
No related tags found
1 merge request
!35
refactor create-directory-structure, and create 'clone_repo' function
Pipeline
#370433
failed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mpsd-software-environment.py
+2
-2
2 additions, 2 deletions
mpsd-software-environment.py
with
2 additions
and
2 deletions
mpsd-software-environment.py
+
2
−
2
View file @
9ed21c50
...
@@ -580,14 +580,14 @@ def get_release_info(mpsd_release: str, script_dir: Path) -> Tuple[str, str, Lis
...
@@ -580,14 +580,14 @@ def get_release_info(mpsd_release: str, script_dir: Path) -> Tuple[str, str, Lis
Raises
Raises
------
------
FileNotFoundError
FileNotFoundError
If the release directory does not exist.
Run `create_dir_structure()` first.
If the release directory does not exist.
"""
"""
# Get the info for release
# Get the info for release
release_base_dir
=
script_dir
/
mpsd_release
release_base_dir
=
script_dir
/
mpsd_release
if
not
os
.
path
.
exists
(
release_base_dir
):
if
not
os
.
path
.
exists
(
release_base_dir
):
logging
.
debug
(
f
"
get_release_info(
{
mpsd_release
=
}
,
{
script_dir
=
}
"
)
logging
.
debug
(
f
"
get_release_info(
{
mpsd_release
=
}
,
{
script_dir
=
}
"
)
raise
FileNotFoundError
(
raise
FileNotFoundError
(
"
R
elease
directory
does not exist.
Run create_dir_structure() first
.
"
f
"
{
r
elease
_base_dir
}
does not exist.
Hint: `prepare
{
mpsd_release
}
` may fix this
.
"
)
)
with
os_chdir
(
release_base_dir
):
with
os_chdir
(
release_base_dir
):
with
os_chdir
(
"
spack-environments
"
):
with
os_chdir
(
"
spack-environments
"
):
...
...
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