Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pysqa/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
from pysqa.cmd import command_line

from pysqa.cmd import command_line

if __name__ == "__main__":
command_line(sys.argv[1:])
7 changes: 4 additions & 3 deletions pysqa/cmd.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import sys
import os
import json
import getopt
import json
import os
import sys

from pysqa.queueadapter import QueueAdapter
from pysqa.utils.execute import execute_command

Expand Down
1 change: 1 addition & 0 deletions pysqa/ext/modular.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Copyright (c) Jan Janssen

import pandas

from pysqa.utils.basic import BasisQueueAdapter
from pysqa.utils.execute import execute_command

Expand Down
4 changes: 3 additions & 1 deletion pysqa/ext/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

import json
import os
import warnings

import pandas
import paramiko
import warnings
from tqdm import tqdm

from pysqa.utils.basic import BasisQueueAdapter
from pysqa.utils.execute import execute_command

Expand Down
3 changes: 2 additions & 1 deletion pysqa/queueadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
# Copyright (c) Jan Janssen

import os

from pysqa.ext.modular import ModularQueueAdapter
from pysqa.utils.basic import BasisQueueAdapter
from pysqa.utils.config import read_config
from pysqa.utils.execute import execute_command
from pysqa.ext.modular import ModularQueueAdapter

__author__ = "Jan Janssen"
__copyright__ = "Copyright 2019, Jan Janssen"
Expand Down
6 changes: 4 additions & 2 deletions pysqa/utils/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@

import getpass
import importlib
from jinja2 import Template
import os
import re

import pandas
from pysqa.utils.queues import Queues
from jinja2 import Template

from pysqa.utils.execute import execute_command
from pysqa.utils.queues import Queues


class BasisQueueAdapter(object):
Expand Down
3 changes: 2 additions & 1 deletion pysqa/wrapper/flux.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# coding: utf-8
from flux.job import JobID
import pandas
from flux.job import JobID

from pysqa.wrapper.generic import SchedulerCommands


Expand Down
2 changes: 1 addition & 1 deletion pysqa/wrapper/gent.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Distributed under the terms of "New BSD License", see the LICENSE file.

import pandas
from pysqa.wrapper.slurm import SlurmCommands

from pysqa.wrapper.slurm import SlurmCommands

__author__ = "Jan Janssen"
__copyright__ = (
Expand Down
3 changes: 2 additions & 1 deletion pysqa/wrapper/sge.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# Copyright (c) Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department
# Distributed under the terms of "New BSD License", see the LICENSE file.

import pandas
import defusedxml.ElementTree as ETree
import pandas

from pysqa.wrapper.generic import SchedulerCommands

__author__ = "Jan Janssen"
Expand Down
2 changes: 1 addition & 1 deletion pysqa/wrapper/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Distributed under the terms of "New BSD License", see the LICENSE file.

import pandas
from pysqa.wrapper.generic import SchedulerCommands

from pysqa.wrapper.generic import SchedulerCommands

__author__ = "Jan Janssen"
__copyright__ = (
Expand Down
2 changes: 2 additions & 0 deletions pysqa/wrapper/torque.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# Distributed under the terms of "New BSD License", see the LICENSE file.

import re

import pandas as pd

from pysqa.wrapper.generic import SchedulerCommands

__author__ = "Jan Janssen"
Expand Down