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

Parameter XSL stylesheet: does not exist. #10

Open
zwep opened this issue Jun 21, 2019 · 1 comment
Open

Parameter XSL stylesheet: does not exist. #10

zwep opened this issue Jun 21, 2019 · 1 comment

Comments

@zwep
Copy link

zwep commented Jun 21, 2019

Hi,

I have some trouble running the converter..

  • Machine: Ubuntu 18.04
  • cmake version 3.10.2

After installing ISMRMRD according to the instructions, and installing this package... I tried the example code with some of my data

philips_to_ismrmrd -f v8_19062019_1634512_1_1_surveylrV4 > -x IsmrmrdPhilips.xsl -o philips.h5

Where I get this error

Parameter XSL stylesheet: does not exist.

Another strange effect is when I run

philips_to_ismrmrd --help

I only see the available options.. nothing more. I expected that there would be a bit more information...

In another Issue I found that you recommended to run a debugger against it. You gave the following instructions

cd philips_to_ismrmrd
mkdir build_debug
cd build_debug
cmake -DCMAKE_BUILD_TYPE=Debug ../
make
make install

However, when running make install... it wants to place it in the directory /usr/local/bin/philips_to_ismrmrd, which is of course already occupied.. And thus the installation fails.
Can I somehow say to store it under a different directory? And is this also wise?

@zwep
Copy link
Author

zwep commented Jun 21, 2019

I just saw the the xsl-sheet is in the repository.. and thus could be fine. So even after providing the absolute path to it.. it still complains about not having an .xsl sheet.

Could it be that somehow in the building process it "forgot" this?

However, I might also be inclined to think that the arguments are not processed properly... And that it therefore cant find the .xsl sheet

EDIT: my idea was right... I needed to change the command to

philips_to_ismrmrd -f v8_19062019_1634512_1_1_surveylrV4 -x IsmrmrdPhilips.xsl -o philips.h5

(Without the > after the file name.)

I do encounter the next problem..

Failed to convert SIN file to XML: Unable to open SIN file for XML conversion

EDIT2 Please make sure that you have a .sin file somewhere. Otherwise it cant open it. A different dataset dit work.

However.. could you still guide me on installing/making/building the debugger? I never worked with that, and it sounds fun

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

No branches or pull requests

1 participant