Skip to content

Commit 9910400

Browse files
committed
deps(flowio): v1.4.0
1 parent e69e01f commit 9910400

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ v1.0.0 will be the first stable release of the CellEngine Python Toolkit.
4343

4444
* **Pandas v2 dependency** updated from Pandas v1.
4545

46+
* **flowio dependency updated to min 1.4**.
47+
4648
### Additional improvements
4749

4850
* Most dependencies have been removed.

cellengine/utils/parse_fcs_file.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
def parse_fcs_file(file: Union[BinaryIO, str]) -> DataFrame:
88
data = flowio.FlowData(file, True)
99
events = np.reshape(data.events, (-1, data.channel_count)) # type: ignore
10-
channels = sorted(data.channels.items(), key=lambda k: int(k[0]))
11-
pnn = [k[1]["PnN"] for k in channels]
12-
pns = [k[1].get("PnS") for k in channels]
10+
pnn = data.pnn_labels
11+
pns = data.pns_labels
1312
return DataFrame(events, columns=[pnn, pns], dtype="float32")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
],
4141
platforms="Posix; MacOS X; Windows",
4242
install_requires=[
43-
"flowio~=1.1",
43+
"flowio~=1.4",
4444
"numpy~=1.17",
4545
"pandas~=2.0",
4646
"requests~=2.22",

0 commit comments

Comments
 (0)