Skip to content

Commit

Permalink
remove outdated conda config, fix linting, fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
tensulin committed Dec 12, 2024
1 parent bb72093 commit 2a15449
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 38 deletions.
33 changes: 0 additions & 33 deletions meta.yaml

This file was deleted.

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "marbel"
version = "0.0.2"
dynamic = ["version", "dependencies"]
authors = [
{ name="Timo Wentong Lin", email="ge2317@uni-giessen.de" },

Expand All @@ -19,7 +19,6 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
dynamic = ["dependencies"]

[project.urls]
"Homepage" = "https://github.com/jlab/marbel"
Expand All @@ -44,3 +43,6 @@ include = [

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.version]
path = "src/marbel/presets.py"
4 changes: 2 additions & 2 deletions src/marbel/data_generations.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ def generate_report(summary_dir, gene_summary):
simulated_down_regulated_genes = sum(gene_summary["fold_change_ratio"] <= 0.5)
with open(f"{summary_dir}/simulation_stats.txt", "w") as f:
f.write(f"Number of selected genes: {number_of_genes}\n")
f.write(f"Number of up regulated genes: {simulated_up_regulated_genes} (percentage: {simulated_up_regulated_genes/number_of_genes})\n")
f.write(f"Number of down regulated genes: {simulated_down_regulated_genes} (percentage: {simulated_down_regulated_genes/number_of_genes})\n")
f.write(f"Number of up regulated genes: {simulated_up_regulated_genes} (percentage: {simulated_up_regulated_genes / number_of_genes})\n")
f.write(f"Number of down regulated genes: {simulated_down_regulated_genes} (percentage: {simulated_down_regulated_genes / number_of_genes})\n")


def create_sample_values(gene_summary_df, number_of_samples, first_group, a0, a1):
Expand Down
2 changes: 1 addition & 1 deletion src/marbel/presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from enum import Enum
import json

__version__ = "0.0.4-alpha"
__version__ = "0.0.4"


CPMS_MEAN_LOG = 3.73411080985053
Expand Down

0 comments on commit 2a15449

Please sign in to comment.