8000 Fixes duplicate print by domna · Pull Request #281 · FAIRmat-NFDI/pynxtools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixes duplicate print #281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 14, 2024
Merged
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
7 changes: 3 additions & 4 deletions pynxtools/dataconverter/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
import glob
import importlib.machinery
import importlib.util
import json
import logging
from gettext import gettext
import os
import sys
import xml.etree.ElementTree as ET
from gettext import gettext
from pathlib import Path
from typing import List, Optional, Tuple
import json

import click
from click_default_group import DefaultGroup
import yaml
from click_default_group import DefaultGroup

from pynxtools.dataconverter import helpers
from pynxtools.dataconverter.readers.base.reader import BaseReader
Expand Down Expand Up @@ -387,7 +387,6 @@ def convert_cli(
mapping: str,
):
"""This command allows you to use the converter functionality of the dataconverter."""
logger.addHandler(logging.StreamHandler())
if params_file:
try:
convert(**parse_params_file(params_file))
Expand Down
0