Ticket #6664 (closed: fixed)
Error if no documentation page
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | major | Milestone: | Release 2.5 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | #6660 | |
Blocking: | #6666 | Tester: | Dereck Kachere |
Description
If there is not algorithm page. We want the wikimaker to stop and output this. Also, if running in --report mode, we want the failure elements in the xml to include this information.
Attachments
Change History
comment:4 Changed 8 years ago by Owen Arnold
refs #6664 no wiki page is a failure.
Changeset: 8d92798f8079e715db9fe90cd79cadf9df4f1656
comment:5 Changed 8 years ago by Owen Arnold
- Status changed from accepted to verify
- Resolution set to fixed
Tester: The wikimaker should now output errors and exit the current processing of the algorithm if the wiki page does not exist.
Try this.
- Register the attached algorithm 'Dummy.py' (I just put it into my PythonAlgorithms directory). This does NOT have a wikipage.
- Now run the wikimaker with the --dry-run and --report options providing Dummy as the algorithm argument to create the wiki for.
- The wiki maker should print out that the wiki page does not exist. This information should also be in the generated WikiMakerReport.xml
For sanity, check that the wikimaker still works with algorithms that do have a wiki page.
comment:8 Changed 8 years ago by Owen Arnold
refs #6664 no wiki page is a failure.
Changeset: 8d92798f8079e715db9fe90cd79cadf9df4f1656
comment:9 Changed 8 years ago by Dereck Kachere
- Status changed from verify to verifying
- Tester set to Dereck Kachere
comment:10 Changed 8 years ago by Dereck Kachere
- Status changed from verifying to closed
Followed the testing instructions. If a wiki page does not exist for an algorithm, Dummy in this case, and wikimaker is run, there is indeed an error message informing the user that the algorithm is not registered.
Testing on an algorithm with a wiki page, ConjoinSpectra in this instance, the user is informed that the "generated wiki page is identical to that on the website."
comment:11 Changed 8 years ago by Owen Arnold
refs #6664 no wiki page is a failure.
Changeset: 8d92798f8079e715db9fe90cd79cadf9df4f1656
comment:12 Changed 8 years ago by Owen Arnold
refs #6664 no wiki page is a failure.
Changeset: 8d92798f8079e715db9fe90cd79cadf9df4f1656
comment:13 Changed 8 years ago by Owen Arnold
refs #6664 no wiki page is a failure.
Changeset: 00a893488453174598d5ba2861046a51fa01ffaa
comment:14 Changed 8 years ago by Owen Arnold
refs #6664 no wiki page is a failure.
Changeset: 8d92798f8079e715db9fe90cd79cadf9df4f1656
comment:15 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 7510
You will need to verify #6660 first.