Skip to content

Commit

Permalink
Set release version in pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
khunter68 committed Aug 26, 2015
1 parent 09f9254 commit 0b754f7
Show file tree
Hide file tree
Showing 22 changed files with 13 additions and 1,543,598 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<packaging>pom</packaging>
<name>dcs-python</name>
<description>dcs-python</description>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
17 changes: 12 additions & 5 deletions src/main/app-resources/ingestion_node01/sensyf_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@
import os.path
from os import makedirs
import argparse
import importlib
#import json
#import numpy as np

# Toucan modules
sys.path.insert(0, '/data/TOUCAN')
import toucan_config
import libingest
#sys.path.insert(0, '/opt/anaconda/pkgs/toucan-0.2.1-py27_0/lib/python2.7/site-packages/TOUCAN')
##import toucan_config
#import libingest
#from imagedb import imagedb
#from toucanio import toucanio

# packaged version on cluster
#import TOUCAN.toucan_config as toucan_config
from TOUCAN.instruments import libingest

# -------------------------------------------------------------------------------------------
class Ingest:
Expand Down Expand Up @@ -87,9 +91,11 @@ def read_data(self):
:raises IOError: if the requested instrument type is not coded
"""

instrument = self.user_params['instrument'].lower() # canonicalise to lower-case
instrument = self.user_params['instrument']
linstrument = self.user_params['instrument'].lower() # canonicalise to lower-case
try:
reader = __import__('ingest_%s' % instrument) # path is in toucan_config
reader = importlib.import_module('TOUCAN.instruments.%s.ingest_%s' % (instrument,linstrument))
# e.g. import TOUCAN.instruments.MERIS.ingest_meris -> reader=ingest_meris
except ImportError:
raise IOError('No reader for instrument %s.' % instrument)

Expand Down Expand Up @@ -186,3 +192,4 @@ def __del__(self):
except:
# ignore if connection not created in the first place
pass

43 changes: 0 additions & 43 deletions src/main/app-resources/try/application.xml.2nodes

This file was deleted.

33 changes: 0 additions & 33 deletions src/main/app-resources/try/application.xml.WORKS

This file was deleted.

43 changes: 0 additions & 43 deletions src/main/app-resources/try/application.xml.anotherbak

This file was deleted.

43 changes: 0 additions & 43 deletions src/main/app-resources/try/application.xml.bak

This file was deleted.

22 changes: 0 additions & 22 deletions src/main/app-resources/try/application.xml.node01

This file was deleted.

46 changes: 0 additions & 46 deletions src/main/app-resources/try/application.xml.rayleigh2

This file was deleted.

51 changes: 0 additions & 51 deletions src/main/app-resources/try/application.xml.rayleigh2a

This file was deleted.

Loading

0 comments on commit 0b754f7

Please sign in to comment.