Skip to content

possibility for directing intermediate files from cluster to a specified directory such as tmp #20

@matt-sd-watson

Description

@matt-sd-watson

I an looking into integrating phenograph into a web-based Flask app that writes temporary caches in a specified directory. I noticed that when calling the cluster function from phenograph:

communities, graph, Q = phenograph.cluster(pd.DataFrame(adata.obsm['X_pca']),k=k) # run PhenoGraph

Several intermediate files are written in the current working directory:

Screenshot from 2023-12-19 10-48-52

Is it possible to direct phenograph to write these files in a tmp directory? For the purposes of the application, it is not desirable to have the tmp files written where the application source code is hosted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions