Skip to content

Commit

Permalink
Remove comments and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mataton committed Dec 3, 2024
1 parent 1355492 commit c6a72e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions biom/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@
# -----------------------------------------------------------------------------

import numpy as np
# import scipy.stats
# import h5py
from copy import deepcopy
from datetime import datetime
from json import dumps as _json_dumps, JSONEncoder
Expand All @@ -184,9 +182,7 @@
from numpy import ndarray, asarray, zeros, newaxis
from scipy.sparse import (coo_matrix, csc_matrix, csr_matrix, isspmatrix,
vstack, hstack, dok_matrix)
# import pandas as pd
import re
# import importlib
from biom.exception import (TableException, UnknownAxisError, UnknownIDError,
DisjointIDError)
from biom.util import (get_biom_format_version_string,
Expand Down Expand Up @@ -3236,7 +3232,6 @@ def rankdata(self, axis='sample', inplace=True, method='average'):
"""
import scipy.stats

def f(val, id_, _):
return scipy.stats.rankdata(val, method=method)
return self.transform(f, axis=axis, inplace=inplace)
Expand Down Expand Up @@ -4112,7 +4107,6 @@ def from_hdf5(cls, h5grp, ids=None, axis='sample', parse_fs=None,
... axis='observation') # doctest: +SKIP
"""
import h5py

if not isinstance(h5grp, (h5py.Group, h5py.File)):
raise ValueError("h5grp does not appear to be an HDF5 file or "
"group")
Expand Down

0 comments on commit c6a72e0

Please sign in to comment.