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

Run this command as bash command #20

Closed
ahratul opened this issue Dec 12, 2022 · 8 comments
Closed

Run this command as bash command #20

ahratul opened this issue Dec 12, 2022 · 8 comments

Comments

@ahratul
Copy link

ahratul commented Dec 12, 2022

Hi
can you help me how to run this " ./ImageJ-linux64 --headless --run /home/user/Downloads/fiji-linux64/Fiji.app/scripts//RS_macro.ijm & /home/user/Downloads/check.log" as a bash command

@bellonet
Copy link
Member

bellonet commented Dec 12, 2022

Hi @ahratul,
Sorry if it wasn't clear enough in the documentation.
The command should be run /<Full/Path/To/Your/Fiji/Dir>/ImageJ-linux64 and then the rest of the command.

To run it - both FIJI and the RS-FISH package should first be installed.

For further questions, please attach the output from check.log and the terminal.
Best,
Ella

@ahratul
Copy link
Author

ahratul commented Dec 12, 2022

@bellonet ,may i ask you how to run this command as a bash command.

@bellonet
Copy link
Member

bellonet commented Dec 12, 2022

It is a bash command that can be run from the terminal. But you do have a small mistake there, so use this template instead:

<fiji_dir_path>/ImageJ-linux64 --headless --run </path/to/this/script>/RS_macro.ijm &> </path/to/where/you/want/yourlogfile>.log

Notice that everything inside a <> should be edited to the path on the machine you're running it on.
Also notice that &> should be kept as is (don't delete > there)

Example command:
/home/ella/work/Fiji.app/ImageJ-linux64 --headless --run /home/ella/work/FISH_project/RS_macro_script.ijm &> /home/ella/work/FISH_project/RS_macro_script.log

The full documentation can be found here:
https://github.com/PreibischLab/RS-FISH/tree/master/documents/example_scripts

@ahratul
Copy link
Author

ahratul commented Dec 12, 2022

Thank you very much for your message but i am getting this log file
image

@ahratul
Copy link
Author

ahratul commented Dec 12, 2022

@bellonet i changed the command to this "/home/devasc/Downloads/Fiji.app/ImageJ-linux64 --headless --run /home/devasc/RS_macro.ijm &> /home/devasc/new/check.log"

@bellonet
Copy link
Member

Please correct /home/devascRS_macro.ijm to /home/devasc/RS_macro.ijm and run again.
The run command couldn't find the path that was given.

@ahratul
Copy link
Author

ahratul commented Dec 12, 2022

Thank you very much it worked

@ahratul ahratul closed this as completed Dec 12, 2022
@bellonet
Copy link
Member

Awesome.

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

2 participants