question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The API is not just in api.py anymore so we should rename it to dataset.py or similar.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
eric-czechcommented, Aug 10, 2020

I tend to prefer keeping the public API as flat as possible, and regard the internal file structure as a private implementation detail.

👍

The only public function that I know of that is not currently at the top-level is testing.simulate_genotype_call_dataset

I think this function (or something like it) is key for a lot of documentation. Being able to play with the parameters for the dimensions that get created as well as missingness will be an important part of the Xarray learning process. It does seem a little peculiar for it to come out of a testing module though if we’re going to use it widely. Perhaps it should be in a datasets.py module instead, which also contains code for fetching public or other static test datasets?

0reactions
tomwhitecommented, Sep 7, 2020

The internal organisation is orthogonal to the public API, so this issue shouldn’t hold up docs. Having said that, I think this issue is just a simple rename. In https://github.com/pystatgen/sgkit/pull/236, I have renamed to model.py, as suggested in this issue - and also echoing scikit-allel.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pandas.DataFrame.rename — pandas 1.5.2 documentation
Dict-like or function transformations to apply to that axis' values. Use either mapper and axis to specify the axis to target with mapper...
Read more >
Open, save, rename project within Python API. #887 - GitHub
Hi. I am writing a node (group) that can send jobs to Afanasy render farm manager. Node approach has much advantages, you can...
Read more >
Python Rename File and Directory using os.rename() - Guru99
Python rename () file is a method used to rename a file or a directory in Python programming. The Python rename() file method...
Read more >
Python API - append and rename material
I have a Python script to append materials from multiple .blend files, I also would like to rename them after append, but bpy.ops.wm.append ......
Read more >
How to rename a google spreadsheet via Google Drive API in ...
I'm using Google Drive API in Python to make archiving of my files. However i am having an issue renaming the copy of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found