Commit 3f982dec authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Bugfix

bin.run_gms:
- modified run_from_entityids()
geomultisens.misc.database_tools:
- delete_processing_results(): Fix for warning ".fuse_hidden.. remaining"
updated __version__ and __versionalias__
Former-commit-id: 5acce159
Former-commit-id: 7e18bab0
parent dc6eea02
......@@ -63,7 +63,9 @@ def run_from_sceneids(args):
def run_from_entityids(args):
# create a new job from entity IDs
# TODO
db_connection = "dbname='geomultisens' user='gmsdb' password='gmsdb' host='localhost' connect_timeout=3" # TODO
dbJob = GMS_JOB(db_connection)
dbJob.from_entityIDlist() # TODO
# set up process controller instance
......
......@@ -2,8 +2,8 @@
__author__ = """Daniel Scheffler"""
__email__ = 'daniel.scheffler@gfz-potsdam.de'
__version__ = '0.2.0'
__versionalias__ = '20170530.01'
__version__ = '0.2.1'
__versionalias__ = '20170531.01'
from . import algorithms
......
......@@ -1048,7 +1048,11 @@ def delete_processing_results(scene_ID, proc_level='all', force=False):
if delete=='J':
try:
if proc_level == 'all':
try:
shutil.rmtree(path_procdata)
except OSError: # directory not deletable because it is not empty
if [F for F in glob.glob(path_procdata) if not F.startswith('.fuse_hidden')]:
raise # raise OSError if there are other files that .fuse_hidden... remaining
else:
files2delete = glob.glob(os.path.join(path_procdata,'*%s*' %proc_level))
errors = False # default
......
......@@ -20,7 +20,7 @@ test_requirements = [
setup(
name='geomultisens',
version='0.2.0',
version='0.2.1',
description="GeoMultiSens - Scalable Multi-Sensor Analysis of Remote Sensing Data",
long_description=readme + '\n\n' + history,
author="Daniel Scheffler",
......
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