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
3771a7c5
Commit
3771a7c5
authored
Feb 11, 2021
by
nsoler
Browse files
admin cc scripts
parent
71992e11
Pipeline
#2404
failed with stages
in 2 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package/scripts/export_Amodels.py
View file @
3771a7c5
...
...
@@ -39,12 +39,14 @@ def export_models(destination, cctype='sign1', cc_repo=None):
if
fichero
!=
'fit.ready'
:
source
=
os
.
path
.
join
(
dirModels
,
fichero
)
target
=
os
.
path
.
join
(
dirtmp
,
fichero
)
print
(
"Copying:"
,
source
,
'to'
,
target
)
try
:
shutil
.
copyfile
(
source
,
target
)
except
Exception
as
e
:
print
(
e
)
print
(
"WARNING"
,
e
)
else
:
print
(
"
Copied:"
,
source
,
'to'
,
target
)
print
(
"
ok
\n
"
)
if
__name__
==
'__main__'
:
...
...
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