get_sivas_dbase mit docstring versehen
This commit is contained in:
@@ -82,6 +82,7 @@ def get_sivas_dbase(sivas_id, out_dir):
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
def get_sivas_teilestamm(sivas_ids, out_dir):
|
def get_sivas_teilestamm(sivas_ids, out_dir):
|
||||||
|
"""call the sivas exe for getting all csv files with the item data for the given sivas ids"""
|
||||||
|
|
||||||
sivas_teilestamm_exe = os.environ.get('SIVAS_TEILESTAMM')
|
sivas_teilestamm_exe = os.environ.get('SIVAS_TEILESTAMM')
|
||||||
|
|
||||||
@@ -98,7 +99,7 @@ def get_sivas_teilestamm(sivas_ids, out_dir):
|
|||||||
if not id.isnumeric():
|
if not id.isnumeric():
|
||||||
print(f"Partnumber '{id}' contains invalid characters. Please check given partnumber. Multiple partnumbers have to be specified as comma separated values without space, e.g. 200000089,200000090")
|
print(f"Partnumber '{id}' contains invalid characters. Please check given partnumber. Multiple partnumbers have to be specified as comma separated values without space, e.g. 200000089,200000090")
|
||||||
|
|
||||||
|
|
||||||
if os.path.isfile(sivas_teilestamm_exe):
|
if os.path.isfile(sivas_teilestamm_exe):
|
||||||
|
|
||||||
if os.path.isdir(out_dir):
|
if os.path.isdir(out_dir):
|
||||||
|
|||||||
Reference in New Issue
Block a user