Page 1 of 1
Example for GenBC
Posted: Fri Sep 03, 2021 11:00 am
by xavixavieri
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.
Re: Example for GenBC
Posted: Tue Sep 07, 2021 2:52 pm
by davep
Hi Hadi,
You can extract the .gz files using
Code: Select all
unzip GenBCTutorialExampleFiles-latest.zip
This should give you the following files
You can then do
Code: Select all
tar xvf genbc_project.gz
tar xvf genbc_source.gz
to get the
GenBC_tutorial_project and
sim_files directories.
Cheers,
Dave
Re: Example for GenBC
Posted: Thu Sep 16, 2021 12:04 pm
by xavixavieri
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
Re: Example for GenBC
Posted: Fri Sep 17, 2021 10:50 am
by davep
Hi Hadi,
Are you on a Linux machine? You may need to use tar -xvf or maybe even tar -zxvf.
Cheers,
Dave
Re: Example for GenBC
Posted: Fri Sep 17, 2021 11:14 am
by xavixavieri
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
Re: Example for GenBC
Posted: Fri Sep 17, 2021 11:41 am
by davep
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
Re: Example for GenBC
Posted: Fri Sep 17, 2021 3:02 pm
by xavixavieri
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