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

WIP - Tagging of unpublished datasets #51

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
863e9b4
Added basic tagging framework
icaoberg Jul 19, 2024
3d57250
Cleaning up branch
Jul 23, 2024
59dfd84
Updated tag
Jul 23, 2024
c8361b4
Added more tags
icaoberg Jul 23, 2024
6f578fc
Cleaned up method
icaoberg Jul 23, 2024
e21d21f
Reformatted tag.py
icaoberg Jul 23, 2024
40d4c02
Added magic.py
icaoberg Jul 23, 2024
e453da2
Added method
icaoberg Jul 23, 2024
dfd6b6b
Added ntoher check
icaoberg Jul 23, 2024
682d61a
Fixed bug
icaoberg Jul 23, 2024
b2e51e1
Added method to figure out if directory is empty
icaoberg Jul 23, 2024
9cb77af
Updated method
icaoberg Jul 23, 2024
85d69f1
Fixed typo
icaoberg Jul 23, 2024
4926594
Added pathlib import
icaoberg Jul 23, 2024
0094683
Fixed anoher typo
icaoberg Jul 23, 2024
9e9590d
Fixed bug
icaoberg Jul 23, 2024
60af311
Made function better
icaoberg Jul 23, 2024
585f2d8
Created fstring
icaoberg Jul 23, 2024
904426b
Updated directory method
icaoberg Jul 24, 2024
ab37b9b
Fixed typo
icaoberg Jul 24, 2024
714d791
Added public to prefix
icaoberg Jul 24, 2024
61d2ad2
Fixed typo
icaoberg Jul 24, 2024
5949954
Added helper function
icaoberg Jul 24, 2024
ad88e13
Added basic function for contributors file
icaoberg Jul 24, 2024
06865ea
Updated contributors metadata file method
icaoberg Jul 24, 2024
1337fab
Fixed method
icaoberg Jul 24, 2024
3f31841
Updated method
icaoberg Jul 24, 2024
2632563
Reorganized better
icaoberg Jul 24, 2024
571fd12
Fixed bug
icaoberg Jul 24, 2024
8ceb539
Fixed bug
icaoberg Jul 24, 2024
b505de0
Fixed another method
icaoberg Jul 24, 2024
75fcb5a
Completed another function
icaoberg Jul 24, 2024
dfbc9d7
Fixed bug
icaoberg Jul 24, 2024
ac9b329
Documented methods
icaoberg Jul 24, 2024
80358dd
Documented another
icaoberg Jul 24, 2024
f2074d3
And another
icaoberg Jul 24, 2024
bfa8b02
Documented more
icaoberg Jul 24, 2024
dce3197
Renamed method
icaoberg Jul 24, 2024
4c818d5
Fixed method
icaoberg Jul 24, 2024
f78e212
Reformatted method
icaoberg Jul 24, 2024
5b74a4d
Cleaned up methods
icaoberg Jul 24, 2024
c806038
Cleaned up method
icaoberg Jul 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions hubmapbags/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
hubmapbags
"""

__version__ = "2023.3" # year 2023 3nd quarter
__version__ = "2024.03"
__author__ = "Ivan Cao-Berg"
__credits__ = "HuBMAP IEC Team"

# CFDE
from .magic import *
from .anatomy import *
from .apis import *
from .assay_type import *
Expand Down Expand Up @@ -37,7 +39,6 @@
from .file_in_collection import *
from .globus import *
from .id_namespace import *
from .magic import *
from .ncbi_taxonomy import *
from .phenotype_disease import *
from .project_in_project import *
Expand All @@ -48,3 +49,4 @@
from .utilities import *
from .uuids import *
from .plots import *
from .tag import *
2 changes: 1 addition & 1 deletion hubmapbags/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,4 +1353,4 @@ def generate_random_sample(directory: str, number_of_samples: int = 10):

output_filename = f"{output_directory}/{tsv_file}"
df = df.drop_duplicates()
df.to_csv(output_filename, sep="\t", index=False)
df.to_csv(output_filename, sep="\t", index=False)
Loading