Commit 17d8078f authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 27d931af
......@@ -18,7 +18,6 @@ import os
import re
from typing import Union
import joblib
import numpy as np
from astropy.io import fits
from astropy.table import Table
......@@ -693,6 +692,8 @@ def test_dm():
import joblib
from csst_common.data_manager import CsstMsDataManager
dm = CsstMsDataManager(dfs_node="pml")
def f(dm, a=1):
print(a)
joblib.Parallel(n_jobs=10,)(joblib.delayed(f)(dm) for i in range(10))
joblib.Parallel(n_jobs=10, )(joblib.delayed(f)(dm) for i in range(10))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment