Skip to content

Commit 34e6ec9

Browse files
Version bump. Increased length of strings for names and configuration
1 parent c9ba08c commit 34e6ec9

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

LoopProjectFile/LoopProjectFile.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def CheckFileValid(filename, verbose=False):
386386
foldObservationType = numpy.dtype([('eventId','<u4'),
387387
('easting','<f8'),('northing','<f8'),('altitude','<f8'),('type','<i4'),
388388
('axisX','<f8'),('axisY','<f8'),('axisZ','<f8'),
389-
('foliation','S30'),('whatIsFolded','S30')])
389+
('foliation','S120'),('whatIsFolded','S120')])
390390

391391
foliationObservationType = numpy.dtype([('eventId','<u4'),
392392
('easting','<f8'),('northing','<f8'),('altitude','<f8'),('type','<i4'),
@@ -402,10 +402,10 @@ def CheckFileValid(filename, verbose=False):
402402
stratigraphicObservationType = numpy.dtype([('layerId','<u4'),
403403
('easting','<f8'),('northing','<f8'),('altitude','<f8'),('type','<i4'),
404404
('dipDir','<f8'),('dip','<f8'),('dipPolarity','<f8'),
405-
('layer','S30')])
405+
('layer','S120')])
406406

407407
faultEventType = numpy.dtype([('eventId','<u4'),
408-
('minAge','<f8'),('maxAge','<f8'),('name','S30'),('group','S30'),('supergroup','S30'),
408+
('minAge','<f8'),('maxAge','<f8'),('name','S120'),('group','S120'),('supergroup','S120'),
409409
('enabled','u1'),('rank','<u4'),('type','<i4'),
410410
('avgDisplacement','<f8'),('avgDownthrowDir','<f8'),
411411
('influenceDistance','<f8'),('verticalRadius','<f8'),
@@ -415,24 +415,24 @@ def CheckFileValid(filename, verbose=False):
415415
('avgNormalEasting','<f8'),('avgNormalNorthing','<f8'),('avgNormalAltitude','<f8')])
416416

417417
foldEventType = numpy.dtype([('eventId','<u4'),
418-
('minAge','<f8'),('maxAge','<f8'),('name','S30'),('group','S30'),('supergroup','S30'),
418+
('minAge','<f8'),('maxAge','<f8'),('name','S120'),('group','S120'),('supergroup','S120'),
419419
('enabled','u1'),('rank','<u4'),('type','<i4'),
420420
('periodic','u1'),('wavelength','<f8'),('amplitude','<f8'),
421421
('asymmetry','u1'),('asymmetryShift','<f8'),
422422
('secondaryWavelength','<f8'),('secondaryAmplitude','<f8')])
423423

424424
foliationEventType = numpy.dtype([('eventId','<u4'),
425-
('minAge','<f8'),('maxAge','<f8'),('name','S30'),('group','S30'),('supergroup','S30'),
425+
('minAge','<f8'),('maxAge','<f8'),('name','S120'),('group','S120'),('supergroup','S120'),
426426
('enabled','u1'),('rank','<u4'),('type','<i4'),
427427
('lowerScalarValue','<f8'),('upperScalarValue','<f8')])
428428

429429
discontinuityEventType = numpy.dtype([('eventId','<u4'),
430-
('minAge','<f8'),('maxAge','<f8'),('name','S30'),('group','S30'),('supergroup','S30'),
430+
('minAge','<f8'),('maxAge','<f8'),('name','S120'),('group','S120'),('supergroup','S120'),
431431
('enabled','u1'),('rank','<u4'),('type','<i4'),
432432
('scalarValue','<f8')])
433433

434434
stratigraphicLayerType = numpy.dtype([('layerId','<u4'),
435-
('minAge','<f8'),('maxAge','<f8'),('name','S30'),('group','S30'),('supergroup','S30'),
435+
('minAge','<f8'),('maxAge','<f8'),('name','S120'),('group','S120'),('supergroup','S120'),
436436
('enabled','u1'),('rank','<u4'),('type','<i4'),
437437
('thickness','<f8'),
438438
('colour1Red','u1'),('colour1Green','u1'),('colour1Blue','u1'),
@@ -441,18 +441,18 @@ def CheckFileValid(filename, verbose=False):
441441
eventRelationshipType = numpy.dtype([('eventId1','<u4'),('eventId2','<u4'),('bidirectional','u1'),
442442
('angle','<f8'),('type','<i4')])
443443

444-
drillholeDescriptionType = numpy.dtype([('collarId','<u4'),('holeName','S30'),
444+
drillholeDescriptionType = numpy.dtype([('collarId','<u4'),('holeName','S120'),
445445
('surfaceX','<f8'),('surfaceY','<f8'),('surfaceZ','<f8')])
446446

447-
drillholePropertyType = numpy.dtype([('collarId','<u4'),('propertyName','S30'),('propertyValue','S80')])
447+
drillholePropertyType = numpy.dtype([('collarId','<u4'),('propertyName','S120'),('propertyValue','S80')])
448448

449449
drillholeObservationType = numpy.dtype([('collarId','<u4'),
450450
('fromX','<f8'),('fromY','<f8'),('fromZ','<f8'), ('layerId','<u4'),
451451
('toX','<f8'),('toY','<f8'),('toZ','<f8'),('from','<f8'),('to','<f8'),
452-
('propertyCode','S30'),('property1','S30'),('property2','S30'),('unit','S30')])
452+
('propertyCode','S120'),('property1','S120'),('property2','S120'),('unit','S120')])
453453

454454
drillholeSurveyType = numpy.dtype([('collarId','<u4'),('depth','<f8'),
455-
('angle1','<f8'),('angle2','<f8'),('unit','S30')])
455+
('angle1','<f8'),('angle2','<f8'),('unit','S120')])
456456

457457
def ConvertDataFrame(df,dtype):
458458
if isinstance(df,pandas.DataFrame):

LoopProjectFile/Version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def LoopVersion():
1111
List of current version [Major,Minor,Sub]version
1212
1313
"""
14-
return [0,0,20]
14+
return [0,0,21]
1515

1616
# Check version of Loop Project File is valid
1717
def CheckVersionValid(rootGroup, verbose=False):

conda/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "loopprojectfile" %}
2-
{% set version = "0.0.20" %}
2+
{% set version = "0.0.21" %}
33

44
package:
55
name: "{{ name|lower }}"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
setup(
44
name="LoopProjectFile",
55
packages=find_packages(),
6-
version="0.0.20",
6+
version="0.0.21",
77
)

0 commit comments

Comments
 (0)