Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
chemical_checker
Commits
dd887d49
Commit
dd887d49
authored
Feb 11, 2021
by
nsoler
Browse files
admin cc scripts
parent
5e37c5dd
Pipeline
#2395
failed with stages
in 2 minutes and 2 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
package/scripts/make_symlink_sign.py
View file @
dd887d49
...
...
@@ -36,7 +36,7 @@ def make_symlinks(destination = "/aloy/scratch/nsoler/CC_related/EXPORT_SIGN", c
for
sign
in
(
'sign0'
,
'sign1'
,
'sign2'
,
'sign3'
):
subsp
=
space
+
str
(
num
)
ds
=
subsp
+
'.001'
signFile
=
os
.
path
.
join
(
cc_repo
,
molset
,
space
,
subsp
,
ds
,
sign
,
sign
+
'
_BACKUP
.h5'
)
signFile
=
os
.
path
.
join
(
cc_repo
,
molset
,
space
,
subsp
,
ds
,
sign
,
sign
+
'.h5'
)
if
os
.
path
.
exists
(
signFile
):
# Make a symlink into the destination
...
...
@@ -55,4 +55,4 @@ def make_symlinks(destination = "/aloy/scratch/nsoler/CC_related/EXPORT_SIGN", c
if
__name__
==
'__main__'
:
destination
=
"/aloy/web_checker/package_cc/2020_02/sign_links"
make
symlinks
(
destination
=
destination
)
\ No newline at end of file
make_symlinks
(
destination
=
destination
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment