Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update xspec verison and CIAO version in docs #360

Closed
wants to merge 1 commit into from

Conversation

hamogu
Copy link
Contributor

@hamogu hamogu commented Mar 30, 2020

Really we probably need a variable to update this in automatically on release. Or is it intentional that 4.11 is cited because that's when the tool was added?

TBD: Check if there are other places with the same text, but I'm not doing that until you tell me that we actually want to update.

Note: Other models did updates the XSPEC string and CIAO 4.12, e.g. https://cxc.harvard.edu/sherpa/ahelp/xspcfabs.html

Really we probably need a variable to update this in automatically on release. Or is it intentional that 4.11 is cited because that's when the tool was added?

TBD: Check if there are other places with the same text, but I'm not doing that until you tell me that we actually *want* to update.

Note: Other models did updates the XSPEC string and CIAO 4.12, e.g. https://cxc.harvard.edu/sherpa/ahelp/xspcfabs.html
@DougBurke
Copy link
Member

So, I've mixed thoughts on this. The text hasn't been updated since it was added, so I haven't checked if the XSPEC documentation has been updated. So changing the version number is potentially problematic.

I'm also hoping that this particular part of the contrib code will not be needed with CIAO 4.13 (ie hoping sherpa/sherpa#68 will be implemented). I've not concentrated much on this part of the contributed package recently because without the regrid code that is now in Sherpa many of these "convolution" models aren't that useful.

Technically the ahelp pages for XSPEC models provided as part of CIAO - such as your example of https://cxc.harvard.edu/sherpa/ahelp/xspcfabs.html - only say what version of XSPEC is being used, and not that the information provided in the page is from that version, but a reader isn't going to be happy with that technicality. The subtext of this comment is that the XSPEC version number is updated for the documentation provided as part of CIAO, even though there is no guarantee that the information on the page has been updated to match changes in the XSPEC documentation. So this would suggest it's okay to update the version info in the contributed documentation.

Basically, this is currently a low priority for me but I'm willing to be convinced otherwise. With the recent-ish changes to the contrib code setup, it would be easier than in the past to add some form of document generating capabilities to automate this, but I'm not convinced it would be worth automating this given the scope of the problem.

@hamogu
Copy link
Contributor Author

hamogu commented Apr 2, 2020

How about we post-pone a decision until 4.13, when we know if the sherpa/sherpa#68 makes it or not? If we decide to go with a one time search and replace (I agree that that's probably good enough), then this is a very quick issue we can squeeze in in the beginning of December.

@DougBurke
Copy link
Member

Sounds good to me. Out of interest, did you notice this because you were using the model, or just happened to notice it?

@hamogu hamogu closed this Nov 10, 2021
@hamogu hamogu deleted the patch-3 branch November 10, 2021 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants