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

FileProperty returns a non-empty string even if nothing is typed in in the GUI #2305

Closed
mantid-builder opened this issue Aug 9, 2010 · 1 comment
Assignees
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: @jzikovsky

Steps to reproduce:

  • Launch MantidPlot
  • Execute LoadEventPreNexus
  • Clear all the filenames.
  • Click run.

Look in the Results log window: You will see this:

Algorithm: LoadEventPreNeXus v1
Parameters:
Name: EventFilename, Value: /home/janik/Code/Mantid/Code/Mantid/release/, Default?: No, Direction: Input
Name: PulseidFilename, Value: /home/janik/Code/Mantid/Code/Mantid/release/, Default?: No, Direction: Input
Name: MappingFilename, Value: /home/janik/Code/Mantid/Code/Mantid/release/, Default?: No, Direction: Input
Name: InstrumentFilename, Value: /home/janik/Code/Mantid/Code/Mantid/release/, Default?: No, Direction: Input

... so all the empty filenames were converted to the path where mantidplot lives (although I launched from /home/janik/Code/Mantid/Code/Mantid/debug/ ) so I don't know why it points there.

This later causes a maddening error in LoadEventPreNeXus if the mapping filename is not specified (it tries to load the folder or something)

Martyn, I assigned it to you since you last touched FileProperty, but I'm not sure if you are responsible for it; please reassign as needed.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 1458

@mantid-builder mantid-builder added the High Priority An issue or pull request that if not addressed is severe enough to postponse a release. label Jun 3, 2015
@mantid-builder mantid-builder added this to the Iteration 24 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

2 participants