Skip to content

Commit

Permalink
a few tweaks for core_depthplot
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshoes87 committed Feb 23, 2015
1 parent 026ee61 commit 7d613a5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
18 changes: 10 additions & 8 deletions ipmag.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,17 +1056,19 @@ def core_depthplot(dir_path='.', meas_file='magic_measurements.txt', spc_file=''
#
#
# get data read in
meas_file=dir_path+'/'+meas_file
meas_file = os.path.join(dir_path, meas_file)
if age_file=="":
samp_file=dir_path+'/'+samp_file
Samps,file_type=pmag.magic_read(samp_file)
samp_file = os.path.join(dir_path, samp_file)
Samps,file_type = pmag.magic_read(samp_file)
else:
depth_scale='age'
age_file=dir_path+'/'+age_file
Samps,file_type=pmag.magic_read(age_file)
age_unit=""
if spc_file!="":Specs,file_type=pmag.magic_read(spc_file)
if res_file!="":Results,file_type=pmag.magic_read(res_file)
age_file = os.path.join(dir_path, age_file)
Samps,file_type = pmag.magic_read(age_file)
age_unit = ""
if spc_file != "":
Specs,file_type=pmag.magic_read(spc_file)
if res_file!="":
Results,file_type=pmag.magic_read(res_file)
if norm==1:
ErSpecs,file_type=pmag.magic_read(wt_file)
print len(ErSpecs), ' specimens read in from ',wt_file
Expand Down
4 changes: 2 additions & 2 deletions pmag_menu_dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1692,9 +1692,9 @@ def on_okButton(self, event):
else:
pltMag = ''
if not pltLine:
pltLine = "-L"
pltLine = ""
else:
pltLine = ''
pltLine = '-L' # suppress line
if logit:
logit = "-log"
else:
Expand Down
4 changes: 2 additions & 2 deletions version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"pmagpy-3.1.6"
version = 'pmagpy-3.1.6'
"pmagpy-3.1.7"
version = 'pmagpy-3.1.7'

0 comments on commit 7d613a5

Please sign in to comment.