File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 55- Added - GitHub Actions workflow to manually release docs
66- Changed - Update ` datajoint/nginx ` to ` v0.2.6 `
77- Changed - Migrate docs from ` https://docs.datajoint.org/python ` to ` https://datajoint.com/docs/core/datajoint-python `
8+ - Fixed - ` Autopopulate.populate ` excludes ` reserved ` jobs in addition to ` ignore ` and ` error ` jobs
89
910### 0.14.1 -- Jun 02, 2023
1011- Fixed - Fix altering a part table that uses the "master" keyword - PR [ #991 ] ( https://github.com/datajoint/datajoint-python/pull/991 )
Original file line number Diff line number Diff line change @@ -58,17 +58,19 @@ def test_populate_exclude_error_and_ignore_jobs(self):
5858 assert_true (self .subject , "root tables are empty" )
5959 assert_false (self .experiment , "table already filled?" )
6060
61- keys = self .experiment .key_source .fetch ("KEY" , limit = 2 )
61+ keys = self .experiment .key_source .fetch ("KEY" , limit = 3 )
6262 for idx , key in enumerate (keys ):
6363 if idx == 0 :
6464 schema .schema .jobs .ignore (self .experiment .table_name , key )
65- else :
65+ elif :
6666 schema .schema .jobs .error (self .experiment .table_name , key , "" )
67+ else :
68+ schema .schema .jobs .reserve (self .experiment .table_name , key )
6769
6870 self .experiment .populate (reserve_jobs = True )
6971 assert_equal (
7072 len (self .experiment .key_source & self .experiment ),
71- len (self .experiment .key_source ) - 2 ,
73+ len (self .experiment .key_source ) - 3 ,
7274 )
7375
7476 def test_allow_direct_insert (self ):
You can’t perform that action at this time.
0 commit comments