Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

pipeline/task_spec_test.py is broken #75

Open
tkaitchuck opened this issue Feb 9, 2016 · 4 comments
Open

pipeline/task_spec_test.py is broken #75

tkaitchuck opened this issue Feb 9, 2016 · 4 comments
Assignees

Comments

@tkaitchuck
Copy link
Contributor

pipeline/task_spec_test.py depends on the existence of the files:
_tmp/counts/2015-12-01/exp_counts.csv
_tmp/counts/2015-12-01/gauss_counts.csv
_tmp/counts/2015-12-02/exp_counts.csv
_tmp/counts/2015-12-02/gauss_counts.csv

Which appear to be generated by:
pipeline/regtest.sh create-counts
which depends on:

  1. Being run from within the pipeline directory
  2. The existence of csv files under ../_tmp/python/demo1/1/
  3. The existence of csv files under ../_tmp/python/demo2/1/
  4. The existence of csv files under ../_tmp/python/demo3/1/

Which presumably comes from having previously run:
./regtest.sh run-seq '^demo' 1 python
and not cleaning up or running any other demos (which would cause cleanup to occur) afterwards.

@andychu
Copy link
Contributor

andychu commented Feb 9, 2016

Yeah it relies on files that are generated by the regtest. Probably the simplest fix is to make test.sh run that first, and do document in task_spec_test.py that it relies on the stuff that test.sh creates.

It's the same thing as bin/test.sh running write-assoc-testdata basically.

@tristanwong1188
Copy link

Yeah it relies on files that are generated by the regtest. Probably the simplest fix is to make test.sh run that first, and do document in task_spec_test.py that it relies on the stuff that test.sh creates.

It's the same thing as bin/test.sh running write-assoc-testdata basically.

how to do so?

I still dont understand how to fix the problem....
I only obtain 2015-12-01 folder, but nothing inside the folder.......emmmmmmmmmmmm....

@Oracle113
Copy link

Oracle113 commented Dec 19, 2021 via email

@tristanwong1188
Copy link

You have the wrong address.

On Sat, Dec 18, 2021 at 9:58 PM tristanwong1188 @.> wrote: Yeah it relies on files that are generated by the regtest. Probably the simplest fix is to make test.sh run that first, and do document in task_spec_test.py that it relies on the stuff that test.sh creates. It's the same thing as bin/test.sh running write-assoc-testdata basically. how to do so? I still dont understand how to fix the problem.... I only obtain 2015-12-01 folder, but nothing inside the folder.......emmmmmmmmmmmm.... — Reply to this email directly, view it on GitHub <#75 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQPKEU6SVJ6RJR33ZT43ARDURVQ7FANCNFSM4B23FSEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>

And I also have the demo 3 file, but demo 1 and 2.....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants