Skip to content

Commit

Permalink
Changed variable for variable.self when saving lightcurves.
Browse files Browse the repository at this point in the history
  • Loading branch information
nespinoza committed Sep 6, 2019
1 parent 8453e6a commit 631993e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juliet/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def save(self):
os.mkdir(self.out_folder)
if (not os.path.exists(self.out_folder+'lc.dat')):
if self.lcfilename is not None:
os.system('cp '+lcfilename+' '+self.out_folder+'lc.dat')
os.system('cp '+self.lcfilename+' '+self.out_folder+'lc.dat')
elif self.t_lc is not None:
self.save_data(self.out_folder+'lc.dat',self.t_lc,self.y_lc,self.yerr_lc,self.instruments_lc,self.lm_lc_boolean,self.lm_lc_arguments)
# Now radial-velocity data:
Expand Down

0 comments on commit 631993e

Please sign in to comment.