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

The number of data files returned by the API is incorrect. #1013

Closed
flekschas opened this issue Apr 15, 2016 · 6 comments
Closed

The number of data files returned by the API is incorrect. #1013

flekschas opened this issue Apr 15, 2016 · 6 comments
Assignees
Milestone

Comments

@flekschas
Copy link
Member

Commit: e91867d

Steps to reproduce

  1. Go to http://192.168.50.50:8000
  2. Open the data set summary panel for a data sets with derived files from an analysis.

Observed behavior

Number of files doesn't increase.

Expected behavior

Number of files should increase as newly derived files get added to the data set.

The displayed number of files is derived from the field file_count of http://192.168.50.50:8000/api/v1/data_sets/9fc9bb6c-f885-4d1b-bcea-162f85285b0d/?format=json for example.

@flekschas flekschas added this to the Next milestone Apr 15, 2016
@jkmarx
Copy link
Member

jkmarx commented May 2, 2016

@flekschas @ngehlenborg Is this a duplicate issue? #309

@ngehlenborg
Copy link
Contributor

Not a duplicate of but related to #309. This issue is about the number of file per data set and #309 is about the total size of all files in a data set.

@flekschas flekschas self-assigned this May 2, 2016
@flekschas
Copy link
Member Author

It seems like file_count and file_size are not updated after an analysis ran. The methods get_file_count and get_file_size return the correct values.

@ngehlenborg
Copy link
Contributor

Can you try to updates those, @flekschas?

@flekschas
Copy link
Member Author

flekschas commented May 2, 2016

Yes I am on it. Should be a quick fix.

@flekschas flekschas modified the milestones: Taunton, Next May 2, 2016
@hackdna
Copy link
Member

hackdna commented May 6, 2016

Reopening due to #1094

@hackdna hackdna reopened this May 6, 2016
@ngehlenborg ngehlenborg modified the milestones: Taunton, Upton May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants