Fixed bugs related to specifying stellar spectrum through a .dat file

This commit is contained in:
Adiv Paradise committed 2021-04-30 21:05:46 -04:00
1 parent a4f492c9e8
commit 74c48e9f31
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -1998,8 +1998,8 @@ References
starspec=starspec[:-4]
if starspec:
self._edit_namelist("radmod_namelist","NSTARFILE","1")
self._edit_namelist("radmod_namelist","STARFILE","'%s'"%starspec)
self._edit_namelist("radmod_namelist","STARFILEHR","'%s_hr.dat'"%(starspec)[:-4])
self._edit_namelist("radmod_namelist","STARFILE","'%s.dat'"%starspec)
self._edit_namelist("radmod_namelist","STARFILEHR","'%s_hr.dat'"%(starspec))
self.starspec = starspec
if key=="pH2":
setgas=True
+2
View File
@@ -824,6 +824,8 @@
! endif
lstarfile = .true.
call solarini
nstartemp = 1
call mpbci(nstartemp)
else if (nstartemp > 0) then
call solarini
else