Commit 4f2ea2a7 authored by nsoler's avatar nsoler
Browse files

admin cc scripts

parent 3771a7c5
Pipeline #2405 failed with stages
in 1 minute and 57 seconds
# Nico 11 Feb 2021
# export sign1 models into the cc code repo directory:
import os, shutil, glob
import os, shutil
from get_repo_version import cc_repo_version
def export_models(destination, cctype='sign1', cc_repo=None):
......@@ -35,7 +34,8 @@ def export_models(destination, cctype='sign1', cc_repo=None):
else:
print("Created directory", dirtmp)
for fichero in glob.glob(dirModels):
for fichero in os.listdir(dirModels):
if fichero != 'fit.ready':
source= os.path.join(dirModels,fichero)
target= os.path.join(dirtmp,fichero)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment