HI all,
I downloaded the sample for GenBC from: "https://simvascular.github.io/docsGenBC.html". I obtained two zipped filles: genbc_project and genbc_source, without file extension name. I tried opening as a project in simvascular but simvascular project only read folders. The files are also written in binary, returning gibberish when opened in notepad++. I wonder if there is another place to get an example for GenBC or maybe a way to read these files.
Thank you.
Example for GenBC
- David Parker
- Posts: 1757
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Example for GenBC
Hi Hadi,
You can extract the .gz files using
This should give you the following files
You can then do
to get the GenBC_tutorial_project and sim_files directories.
Cheers,
Dave
You can extract the .gz files using
Code: Select all
unzip GenBCTutorialExampleFiles-latest.zip
Code: Select all
genbc_project.gz
genbc_source.gz
Code: Select all
tar xvf genbc_project.gz
tar xvf genbc_source.gz
Cheers,
Dave
- Hadi Wiputra
- Posts: 13
- Joined: Sat Jul 07, 2018 11:32 pm
Re: Example for GenBC
Hi David,
Thank you for the reply, I've already extracted the .zip file and used tar to try to extract the .gz files, I got the following errors (as attached).
Regards,
Hadi
Thank you for the reply, I've already extracted the .zip file and used tar to try to extract the .gz files, I got the following errors (as attached).
Regards,
Hadi
- Attachments
-
- Capture.PNG (61.88 KiB) Viewed 227 times
- David Parker
- Posts: 1757
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Example for GenBC
Hi Hadi,
Are you on a Linux machine? You may need to use tar -xvf or maybe even tar -zxvf.
Cheers,
Dave
Are you on a Linux machine? You may need to use tar -xvf or maybe even tar -zxvf.
Cheers,
Dave
- Hadi Wiputra
- Posts: 13
- Joined: Sat Jul 07, 2018 11:32 pm
Re: Example for GenBC
Hi Dave,
I am working on windows machine, using 7z to unpack all of those, but still cant open it. The resulting files have no file extension, so windows does not know what program to open it with. I tried using simvascular to open, to no avail, and notepad++ showed gibberish.
Therefore I followed your direction in linux virtual machine. I used the -xvf or -zxvf options and both returned the same error (Image attached).
Thank you for the help.
Regards,
Hadi
I am working on windows machine, using 7z to unpack all of those, but still cant open it. The resulting files have no file extension, so windows does not know what program to open it with. I tried using simvascular to open, to no avail, and notepad++ showed gibberish.
Therefore I followed your direction in linux virtual machine. I used the -xvf or -zxvf options and both returned the same error (Image attached).
Thank you for the help.
Regards,
Hadi
- Attachments
-
- Capture.PNG (81.06 KiB) Viewed 209 times
- David Parker
- Posts: 1757
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Example for GenBC
Hi Hadi,
I just brought up my own Linux VM and now I see the problem. The .gz files seem to be some sort of zip format so on Linux you need to use gunzip on them. Tar works OK on a Mac where I develop so I didn't see the problem. Sorry!
Cheers,
Dave
I just brought up my own Linux VM and now I see the problem. The .gz files seem to be some sort of zip format so on Linux you need to use gunzip on them. Tar works OK on a Mac where I develop so I didn't see the problem. Sorry!
Cheers,
Dave
- Hadi Wiputra
- Posts: 13
- Joined: Sat Jul 07, 2018 11:32 pm
Re: Example for GenBC
Hi David,
At the same time, I actually used my friend's mac to open the file, and it works now. Thank you!
Regards,
Hadi
At the same time, I actually used my friend's mac to open the file, and it works now. Thank you!
Regards,
Hadi