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

Add documentation for BUMPS usage and integrate rst files to SasView from BUMPS repo (Trac #378) #512

Closed
butlerpd opened this issue Mar 30, 2019 · 14 comments
Assignees
Labels
Documentation Concerns documentation Enhancement Feature requests and/or general improvements Major Big change in the code or important change in behaviour

Comments

@butlerpd
Copy link
Member

butlerpd commented Mar 30, 2019

We do need to add documentation to explain How to use the BUMPS optimization options including: the meaning of the options (DREAM vs LM vs NMS etc), the meaning of the parameters for each option, and how to interpret the diagnostic plots produced.

Migrated from http://trac.sasview.org/ticket/378

{
    "status": "closed",
    "changetime": "2019-03-26T10:08:09",
    "_ts": "2019-03-26 10:08:09.126789+00:00",
    "description": "We do need to add documentation to explain How to use the BUMPS optimization options including: the meaning of the options (DREAM vs LM vs NMS etc), the meaning of the parameters for each option, and how to interpret the diagnostic plots produced.",
    "reporter": "butler",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasView Documentation",
    "time": "2015-03-10T16:31:46",
    "component": "SasView",
    "summary": "Add documentation for BUMPS usage and integrate rst files to SasView from BUMPS repo",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView Next Release +1",
    "owner": "pkienzle",
    "type": "enhancement"
}
@butlerpd butlerpd added this to the SasView Next Release +1 milestone Mar 30, 2019
@butlerpd butlerpd added Enhancement Feature requests and/or general improvements Incomplete Migration Major Big change in the code or important change in behaviour Documentation Concerns documentation and removed Incomplete Migration labels Mar 30, 2019
@butlerpd
Copy link
Member Author

Trac update at 2015/03/22 22:30:32: butler changed milestone from "SasView Next Release +1" to "SasView 3.1"

@butlerpd
Copy link
Member Author

Trac update at 2015/03/24 14:53:05:

  • butler changed owner from "" to "pkienzle"
  • butler changed status from "new" to "assigned"

@pkienzle
Copy link
Contributor

Trac update at 2015/05/08 19:11:08: pkienzle commented:

If the bumps source tree is available, then the doc build can copy in the optimizer info as part of the build process. This is done in:

docs/sphinx-docs/build_sphinx.py

Before closing the ticket, update the build machines so that bumps source is available, and update src/sas/perspectives/fitting/media/fitting.rst so that it includes:

Information on the SasView Optimisers <optimizer>

@butlerpd
Copy link
Member Author

Trac update at 2015/05/19 14:36:54: butler changed summary from "Add documentation for BUMPS usage" to "Add documentation for BUMPS usage and integrate rst files to SasView from BUMPS repo"

@pkienzle
Copy link
Contributor

Trac update at 2015/06/16 14:25:56: pkienzle commented:

Need a Help button on the optimizer selection form. This will need to be a parameter to the dialog panel giving the URL for the help page; if the URL is not provided, then no Help button should appear.

@sasview-bot
Copy link

Trac update at 2015/06/18 12:47:50: trnielsen commented:

I have added a file in build_tools to clone bumps to the build server. The file is called: Jenkins_bumps_docs.py

I just installed the SasView from the latest build on a clean Windows VM. And the bumps documentation is not to be seen from Help -> Documentation -> User Documentation -> Fitting Perspectives

The Jenkings error log says:
“ File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Logging onto the Win7 Build slave and building locally everything works fine. So now I just need to find out why Jenkins cannot find some files.

@sasview-bot
Copy link

Trac update at 2015/06/19 12:43:37: trnielsen commented:

Build machines have been updated.

For the purpose of the upcoming releases bumps has manually been cloned onto the build servers. After the release, one could consider a setting up a general approach.

Status:

Win7: bumps docs are available from the SasView installer

OSX: (bumps) docs are NOT available from the SasView installer. On the build server bumps doc are included in the docs/sphinx-docs/build/html/index.html file.

Ubuntu: (bumps) docs are NOT available from the SasView installer egg or from python run.py. On the build server bumps doc are included in the docs/sphinx-docs/build/html/index.html file.

@butlerpd
Copy link
Member Author

Trac update at 2015/06/21 17:29:41: butler commented:

I have tried the build downloaded from Jenkins on both Mac and PC and the BUMPS docs are "natively" available on both. I thus have removed the web link option as too ugly and unecessary. The only open question I think now is whether we need to add the help button to the BUMPS option panel. Since that panel is part of the bumps package it may be a bit more complicated? Otherwise I vote we close this ticket and open a new one to implement a different approach to getting the bumps documentation into SasView if this would be appropriate.

@sasview-bot
Copy link

Trac update at 2015/06/29 10:41:05: trnielsen commented:

After the release I can change the build server setup such that we can pull multiple git projects into the same Jenkins build directory.

In this way new bumps documentation can be pull into SasView by changing the bumps tag version from within the Jenkins web interface.

@butlerpd
Copy link
Member Author

Trac update at 2015/06/30 15:29:04:

  • butler commented:

We will not fix the HELP button this release so can now move this ticket to next release

  • butler changed milestone from "SasView 3.1" to "SasView Next Release +1"
  • butler changed type from "defect" to "enhancement"

@butlerpd
Copy link
Member Author

Trac update at 2015/08/14 20:03:33: butler changed milestone from "SasView Next Release +1" to "SasView 4.0.0"

@butlerpd
Copy link
Member Author

Trac update at 2016/03/20 22:49:33: butler changed milestone from "SasView 4.0.0" to "SasView Next Release +1"

@smk78
Copy link
Contributor

smk78 commented Mar 30, 2019

Trac update at 2019/03/26 10:07:52: smk78 commented:

Checked behaviour in 4.2.1 on Windows and OSX, and in 5.0b2 on Windows. All Fit Options (called Fit Algorithms in 5.0b2) panels have a Help button that brings up optimizer.html. This appears to mean this ticket is complete and so closing it.

@smk78
Copy link
Contributor

smk78 commented Mar 30, 2019

Trac update at 2019/03/26 10:08:09:

  • smk78 changed resolution from "" to "fixed"
  • smk78 changed status from "assigned" to "closed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Concerns documentation Enhancement Feature requests and/or general improvements Major Big change in the code or important change in behaviour
Projects
None yet
Development

No branches or pull requests

4 participants