Skip to content

Commit

Permalink
Hopefully fixed an issue where the theme on rtd is defaulting to the …
Browse files Browse the repository at this point in the history
…sphinx default rather than the rtd default.
  • Loading branch information
jbhopkins committed Feb 2, 2024
1 parent d3b71ac commit e5330ee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions bioxtasraw/RAW.py
Original file line number Diff line number Diff line change
Expand Up @@ -3062,17 +3062,17 @@ def _onAboutDlg(self, event):
info.SetName("RAW")
info.SetVersion(RAWGlobals.version)
info.SetCopyright("Copyright(C) 2009 RAW")
info.SetDescription(('RAW is a software package primarily for SAXS 2D data '
'reduction and 1D data analysis.\nIt provides an easy '
'GUI for handling multiple files fast, and a\ngood '
'alternative to commercial or protected software packages\n\n'
'Please cite:\n"BioXTAS RAW: improvements to a free open-source program for\n'
'small-angle X-ray scattering data reduction and analysis."\n'
'J. B. Hopkins, R. E. Gillilan, and S. Skou. Journal of Applied\n'
'Crystallography (2017). 50, 1545-1553'))
info.SetDescription(('RAW is a software package primarily for '
'biological SAXS 2D data reduction and 1D '
'data analysis.\n\n'
'Please cite:\n"BioXTAS RAW 2: new developments for a '
'free open-source program for small-angle scattering\n'
'data reduction and analysis." J. B. Hopkins. '
'Journal of Applied Crystallography (2024). '
'57, 194-208'))

info.SetWebSite("http://bioxtas-raw.readthedocs.io/", "The RAW Project Homepage")
info.SetDevelopers(["Soren Skou", "Jesse B. Hopkins", "Richard E. Gillilan"])
info.SetDevelopers(["Jesse B. Hopkins", "Soren Skou"])
info.SetLicense(('This program is free software: you can redistribute it '
'and/or modify it under the terms of the\nGNU General '
'Public License as published by the Free Software '
Expand Down Expand Up @@ -12873,14 +12873,14 @@ def _makeFileList(self,modified_frame_list=[]):
for frame in modified_frame_list:
name = os.path.join(self.directory,
'{}_data_{}'.format(self.image_prefix, frame))

#To match new eiger dat file naming convention
name2 = os.path.join(self.directory,
'{}_data_'.format(self.image_prefix))
flist = glob.glob(name2+'*_{}.dat'.format(frame))
if len(flist) > 0:
fname = flist[0]

if os.path.isfile(name+'.dat'):
file_list.append(name+'.dat')
elif os.path.isfile(fname):
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#

if on_rtd:
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'
else:
html_theme = 'sphinx_rtd_theme'

Expand Down

0 comments on commit e5330ee

Please sign in to comment.