Skip to content

Commit

Permalink
[Changed]: Removed warning filters in extension_engine as warnings fr…
Browse files Browse the repository at this point in the history
…om other packages may break downstream analysis

[Changed]: years in comments
  • Loading branch information
Li Yao committed Nov 7, 2023
1 parent 41281dd commit d2d1427
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2021 Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pints/calling_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# coding=utf-8

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2022. Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 1 addition & 3 deletions pints/extension_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# coding=utf-8

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2022. Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -17,7 +17,6 @@
import os
import sys
import logging
import warnings

try:
import numpy as np
Expand All @@ -28,7 +27,6 @@
except ImportError as e:
missing_package = str(e).replace("No module named '", "").replace("'", "")
sys.exit("Please install %s first!" % missing_package)
warnings.filterwarnings("error")

logger = logging.getLogger("PINTS - BoundaryExtender")
__EXTENDED_FILE_TPL__ = "_element_{de_tag}bp.bed"
Expand Down
2 changes: 1 addition & 1 deletion pints/io_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# coding=utf-8
#
# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (C) 2019-2021 Li Yao at the Yu Lab
# Copyright (C) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pints/qc_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os.path

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2022. Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pints/stats_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Created on: 2019-08-07
#
# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (C) 2019 Li Yao at the Yu Lab
# Copyright (C) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion scripts/pints_boundary_extender
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2021 Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion scripts/pints_caller
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# coding=utf-8

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2021 Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion scripts/pints_normalizer
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# coding=utf-8

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2021 Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion scripts/pints_sample_qc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# coding=utf-8

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2022. Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion scripts/pints_visualizer
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# coding=utf-8

# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2021 Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion tests/functional_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PINTS: Peak Identifier for Nascent Transcripts Starts
# Copyright (c) 2019-2022. Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion tests/test_em.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PINTS: Peak Identifier for Nascent Transcripts Sequencing
# Copyright (c) 2019-2022. Li Yao at the Yu Lab.
# Copyright (c) 2019-2023 Yu Lab.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down

0 comments on commit d2d1427

Please sign in to comment.