-
Notifications
You must be signed in to change notification settings - Fork 8
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
txt output file is not created with prefix when json-graph output enabled after 2nd time execution #78
Comments
@yasu-sh Ah..I do see the bug! The .txt file should not be deleted on the second run. Ideally, if you run it the second time, it will overwrite the existing result files. Do you to have it keep the original result files? If so, I can append a number on the new result files. |
@kvb2univpitt Thanks for your quick response and checks.
No. I do not have to keep the original result files. |
@yasu-sh It's now fixed in the new release causal-cmd-1.4.2. |
@kvb2univpitt What's a lovely action! I have cloned the repository and built it. it is solved. fges_(numeric_datetime).txt - fges_(numeric_datetime)_graph.json ... "datetime" is root? But my intention has been already accepted. Related arguments names may be changed if developes like! I checked the behaviors and building at:
|
@yasu-sh I agree. It's a bit confusing with the --prefix flag. Initially, it was only meant for JSON graph output. But, I have extended to the text output. I should fix it so that the text output should look like this |
@kvb2univpitt |
@yasu-sh Sounds good. Instead of making another release, I'll just add it to the 1.4.2 release. I'll reopen this issue. You can close it once you verify that it's working. |
@kvb2univpitt I see. I'll have a look after updated code is commited. Thanks for your kindness. |
@yasu-sh OK. It's fixed. I also fixed the help description for the prefix command-line option so that people know what the prefix is replacing:
|
@kvb2univpitt It works! Thanks a lot. I confirmed as below.
|
Hi,
I doubt if the existing json file suppreess the .txt file output when json-graph with prefix.
Could you fix this issue without workarounds? it makes better.
I guess the process is as below:
So far, I have used the workaround:
asia.csv
data: asia.csv (created from bnlearn, data(asia))
causal-cmd version 1.4.1, downloaded from
https://s01.oss.sonatype.org/content/repositories/releases/io/github/cmu-phil/causal-cmd/1.4.1/
The text was updated successfully, but these errors were encountered: